<!DOCTYPE html>
<html lang="zh">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>简单的布局</title>
    <style>
      header,
      main,
      footer {
        width: 1200px;
        margin: 0 auto;
      }

      header {
        height: 150px;
        background-color: chocolate;
      }

      main {
        height: 300px;
        /* background-color: aqua; */
      }

      nav,
      article,
      aside {
        height: 100%;
        float: left;
      }

      nav {
        width: 300px;
        background-color: brown;
      }

      article {
        width: 460px;
        margin: 0 20px;
        background-color: chartreuse;
      }

      aside {
        width: 400px;
        background-color: cornflowerblue;
      }

      footer {
        height: 200px;
        background-color: blue;
      }
    </style>
  </head>
  <body>
    <header></header>
    <main>
      <nav></nav>
      <article></article>
      <aside></aside>
    </main>
    <footer></footer>
  </body>
</html>
